The param tags are the lines which customize the applet to your needs. Following is a list of all the parameter options which are currently available. Note that the 'name=' of the parameter as typed into the HTML document SHOULD BE CAPITALIZED... it is not necessary to capitalize the 'value' attributes. Defaults (where described) indicate what appropriate values will be used if not explicitly given in the HTML document.
If no transition is explicitly given for a frame (i.e.: a double-comma is typed), the transition is defaulted to the simple overwriting feature used in an animation sequence.
Optionally, the TRANSITIONS value may be set to "random" which will force that applet to change frames with randomly picked transitions.
Absolute coordinates should be place within parentheses. For example, if one is displaying a six-frame animation in which all frames are to be at 0,0 except the third which is to be at 25,37; the syntax for the value of POSITIONING would be: value=,,(25)&(37),(0)&(0),, . Note that all absolute coordinates are in parentheses. No numbers were given for the first two frames because the default starts a (0)&(0) and if a 'double-comma' null argument is given, the applet uses the previous value. This also explains why (0)&(0) was given for the fourth frame to return the picture to those coordinate; a 'null' entry would have kept the display a (25)&(37), but only the third frame was to be there. Negative absolute coordinates may be given... but be sure to use parentheses; otherwise the applet will believe you are referring to relative coordinates (see next).
Relative coordinates DO NOT have parentheses. They simply add (or subtract value from the position of the previous frame (the initial showing of the first frame is assumed to be 0,0). Leaving a null 'double-comma entry will result in a change of +0&+0 (i.e.: no movement).
Coordinate pairs need not match as far as relative and absolute properties. For example, +15&(60) would cause the appropriate frame to be moved 15 to the right of the previous frame and be held at y=60.
Be sure to define a position for ALL frames if you use the POSITIONING parameter (as with PAUSEORDER, there should be an argument for each frame). POSITIONING may not be used in conjunction with TRANSITIONS... and will not work if TRANSITIONS parameter is used.
-- Comments and suggestions are welcome: harshec@cdware.eng.sun.com, address Eric Harshbarger
© Copyright 1996, Sun Microsystems, Inc.